<script setup>
import { ref } from 'vue'

let props = defineProps(['entityDataItem'])
let entityDataItem = props.entityDataItem

</script>


<template>
    <div class="model302-box">
        <div class="model302-box-son">
            <div class="row1">
                <div class="li1">
                    <img :src="entityDataItem.image0" alt="">
                </div>
                <div class="li2">
                    <div class="top">
                        <p>{{ entityDataItem.field11 }}</p>
                    </div>
                    <div class="bottom">
                        <p>{{ entityDataItem.field21 }}</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

</template>


<style scoped>
.model302-box {
    width: 100%;
    height: 4.2rem;
    margin-bottom: 0.4rem;
}

.model302-box-son {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.model302-box-son>.row1 {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.model302-box-son>.row1>.li1 {
    width: 22%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model302-box-son>.row1>.li1>img {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
}

.model302-box-son>.row1>.li2 {
    width: 78%;
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.model302-box-son>.row1>.li2>div {
    width: 100%;
    height: 40%;
    font-size: 0.9rem;
}

.model302-box-son>.row1>.li2>div>p {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model302-box-son>.row1>.li2>.bottom {
    color: rgb(173, 165, 173);
    font-size: 0.7rem;
}
</style>
